STEP 2: Let's start by creating an empty string variable for our password. We will update the string later!

  • In LOGIC, click and drag out String Variable.
  • Change the variable name to password.
  • Change the value to empty quotes like this: " " (include one space!).
  • Add a Variable Display and change the variable argument from my_var to password.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)